Merge pull request #26 from linduxed/move_error_and_exit_handling_to_cli

Move error handling into CLI class
Move test for "-a" argument into describe block

As a preparation for more tests for "-a".
Add checking for empty algorithm argument