Adding a small module to handle generation of messages and definitions of message types.