mongo db adapter