Working on the code generation
Advancements in many places, mainly changed tree decoration model.