First steps in modularizing the compiler.