Creating the TextureLoader class