created Message class