Code Golf. Cleaning up code and format.

md5sum a.out
7dc3c60b5a3263b2877c10cb6635abe4  a.out

Created a few macros to make reading the controller code easier, some
depend on certain variables existing, this is documented in macros.h
within the controllers directory.

Removed the test network code because it is dead code that is unused.