turn pascalCompiler in to an object for easier testing, will replace the old main.