add struct to encapsulates replica set config