Hook statuses into the flow. Closes #7.
Refactor to prepare for test runners