Refactored Key Value Store to return store
retrieves value when inputed key