Add license file
First draft. Needs testing!
Several bugs have been corrected.
Sketch a setup.py
Support command-line arguments. Fix logging.