Fundamental Thermodynamics