AutomaticReplication class added