refactoring + support for expiry of values
introduced concept of persistent item. refactoring. changed name to persistedMap