Checking in WiP on the MessageModel. More cleanly separated code and compiling of...