GCode class added, fixed compiling issues