add basic in memory cache data structure