Adding mongodb hook to the app.
Fixed some errors and added some actual functionality.
Got some basic document reading functionality working.
Merge remote-tracking branch 'origin/mongo'