Compiler main class cleanup and support for options.