Initial commit for the replication server and client code