Setting up the CacheManager