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

This class will eventually disappear.