add argparse and a few options

add arg parse and a few options