added caching classes for LRU and LFU strategy