Fundamentals of Optomechanics