Switch command line parsing to argparse
Switch command line parsing to argparse