Built out the CLI and polished up the argument parsing.