Refactor the logic of building a Program into an addCodel method.
Moved the code to run the compiler from the command line into the Compiler object.