Added glut mode. Prototype for read and write config file.