Gets the full message queue implementation working, minus websockets.