Added replication support for MongoDB