Implement the first version of replication online creation (issue #16)