Tweaked the reactor to allow for an IO callback, and a baked in
startup/shutdown function set