Added MessagesController. Fixes #39