updated replication api
removed all replication conditionals
split of initial and continuous sync, currently not working