Continued with cgen.
Moved to 2-step generation in cgen.
Started cgen type system.