Zaslat SMS: Statistical mechanics: principles and selected applications