Switch to MongoClient for db connection