revamping code
Add class Logfile, paste class Message (to do)
continue code cleaning