Mongo dao's updates. Generic refactoring.