Factoring out methods used in backend. No direct usages of global anymore.
Reduced number of methods used in backend.
Factoring out definitions used in backend.
Starting to implement interfaces for scalac