Removed pointers in Texture. Added constructor in GameObj.