making it easier to register an io handler for the simple reactor
the io callback had the wrong retval, also updated the makefile to make sharing this easier
Makefile modifications to allow deploying this stuff to /usr/local
The main goal here was to allow cpp compilation (><). Also some cosmetic stuff.