move TextureCache out of interface and Application