Got basic features working. Still need to add ack and reaper jobs.
Refactoring to isolate the handlers.