added Message class and module example, also writed some tests for message