Compiler Optimizations,

Additional work done on optimizing the compiler. Need to focus on the
Topology sort however, as we are reaching max iterations on the appex
project.

Have again reshaped the compiler into a input -> processor -> output
scheme, which is a bit easier to manage.