Added feature of replicaset configuration