Add logging. Add argparse command line options.