Replicated KV Store Assignment

Implement the use of persistence and replication at the primary replica.