Removed Texture-class and combined the functionality to Material-class