Added Initial implementation for downloading and storing images in a cache