Invia SMS: The physics of phase transitions: concepts and applications