MongoDb layer for simpledblayer