Message controller

See https://sagebionetworks.jira.com/wiki/pages/viewpage.action?pageId=49020989