Made some changes
added opengl stuff