Added Message class with parser, event system