Replicated KV Store Assignment

Code Refactoring