setup replication manager