refactor to allow for rendering: - markdown - html - click of results of different commands: - validate - prune - diff (in future)