Moves CacheEntry to its own file.