Attempt at replication system. Cannot figure out a way to abstract HTTP layer of replications with the required interface