Bye replication

I have completely removed the replication layer.

It passes all tests.