messgae class created