some initial work on the queue, mongodb connection, draft of json queue messages