Improve gcode generation interface.

After writing gcode formatter in js, cxxcam formatter will be removed.