ability to filter CLI output
add specs for CLI
minor cleanup
improve help message
move methods related to CLI output to a separate module
change if-else statement to case