CacheManager code

Cache management code. Can be plugged into CacheService to manage cache
contents. (Will connect up with CacheService once networking issues are
resolved)