refactor(db): use new MongoClient class

ref #385