Make it possible to configure mongodb part of replicaset