Adding Message class