Outline of mode_machine added. message_router now sending message IDs.