complete rewrite

complete rewrite
more unix like behaviour
all output defaults to stdout
dropped "--file and --dir" (obsolete)
see changelog.md for further information