Refactor hash fake-persistent store into a separate file, as step towards multiple storage options