Cache type should be specified to create a cache object. Added method to get a list of all caches.