Fixup the way textures work

Lot's of things are currently unused..
Adding textures
Moving the object files
Adding texture support