Structure for Cache class