Test persistence

* Application now set up to use mongodb for persistence