Add replicaset support

ReplicaSet support