Adds a root object for code generation
Adds code generation for some blocks