Added image caching singleton class

Added image caching singleton class to both the list view and the
detail view