Made the Message class an interfae and added a few more message options that the java generator understands.