Created a CacheInstance class to be used as a self-contained cache
Avoiding the 'global' use of the main Cache class