Adding MongoDB storage. Allow resources to be persisted on MongoDB.