Replicated KV Store Assignment

Implement the use of persistence at the primary/secondary replicas.