Text this: Generalized optomechanics and its applications