Adding mongoDB support