Adding a prototype of a png2texture reader
moving stuff to own files

In the course to get textures to work I moved quite a lot
to functions and different files to make the code more readable
and more easily debuggable. It does now some heavy error handling
to figure out what's going wrong.
Moving attribute geshizzle in own structure