Updated Texture2D to use OpenGL functions (essentially its a sprite class now)