fixed loading of textures from directory
~OOP