Zaslat SMS: Principles of chemical thermodynamics