adding docopt cli parser, improved run_server options