implemented a Massage class for informations to send -> Message
encapsulated actions to different functions.
loop() is now easier to read.