Rewrite the CLI using docopt

Issue #16 resolved