moved gcode routines into own namespace