added basic logic for textures
debugged lena image