added TextureManager class