CoreCompiler: moving stuff to utils.py

...and making a package out of core_compiler. Now execute with python -m.