use argparse, remove unit test for stdin to program