add CacheManager class