Refactored out write-through-cache and converted CacheStoreInterface into an abstract CacheStore class.