Added first attempt at structured data structure for generating code based on a trace.