abandon the templates. start to integrate gcode.