Implemented the Replicator and partially the ReplicationTask