id and time attribute moves into the Message class