Implemented adding and removing items from cache