move the GLUT specific methods into their own file