A mongoDB Class