Update to MongoClient

Stop using the deprecated Mongo classes