Made a simple Makefile for faster compiles.  Moved over a small portion of code to a seperate method, and it still appears to behave correctly.  Commented out the communications code for testing.  Next step is to introduce the socket based cnc.