Adding some infrastructure code

Adding the message bus, the message parser and builder and some example
agents.