refactor much of the cli

- all output logs are now events so they can be toggled
- folder renamed from commands to cli
- almost all logic removed from the binary
- add usage information to roots tpl command