move all mongo-adapters to db.py