Added loading of texture and fixxed obj loader

Texture is loaded now all that is needed is using it.