Added separate class for textures, and enabled transparency.