Add Support for mongodb replica sets to the data model