begin improve arg parsing
partial migration to argparse