polish - use argparse + logging

- don't print all three reps every time, select one from the command line
- dont print warnings, log them to stderr
translate `use` to `import` statements

also get rid of unnecessary IPython import
license info for unparse.py