Created the Message class which includes abstracts for publish, receive and serialize

Respaced/formatted.