Better documentation. Added replication file.