added initiate-rs mode to start replica sets