Put compilation and the GR machine into different modules.
Moved files around.