add logging for debugging and info, change workqueue replication to replicator