Use MongoClient and MongoReplicaSetClient