use argparse and logging, improve readme