Refactored textures into a texture library