Rename eventreporter -> event_reporter, move binary out of lib
Inject output stream
Add a test for the CLI