Added CacheManager class to handle registration caches