Thermodynamics of Materials: A Classical and Statistical Synthesis