added cdpi_mongo.cpp for mongoDB