Added new image caching class