Start of gcode proccessing code