Added Texture class and tested in appmaingame