Fixes #4
Fixes #13
Implement command-line parsing via  argparse.