Modified sgSerial.h header to reflect both pi and Due more and created a spMaster.h header file. Both have .cpp files implementing the functions.