Cleaned & commented up the arduino-side code best I could, added lots of TODOs. Brian, can you please take a look at the TODO's I added in there?

Thanks

-Jeff