Added Texture class,  added fixes to Resource Handler