Create AbstractFactory for Cache