Zaslat SMS: Macroscopic theories of matter and fields: a thermodynamic approach