SMS: Elements of thermodynamics