Fundamentals of Classical Thermodynamics