Implemented resource controller and game state
Moved GLUT init to main function (more sensicals)