Reworked the CLI part to now use docopt instead of argparse.