Elements of Classical and Quantum Physics