Adding ReplicationResource.java