Removing lots of code and adding a new way to emit
Removing more bad code to be replaced
System now compiles the basic test (but does not yet bind or work)