Added CachedData class to allow using the caching framework
of Django. The caching needs to be persistent when the script
has ended so it's recommended to use FileBasedCache.