Texture cache and resource manager added