Elements of Classical Thermodynamics