Added replication consistency routines

Added replication consistency routines