refactored commandline with docopt