Adding the basic for chain replication and orded logs.