Implicitly work in tmpdir if it exists.
improve docstrings and rst-ify.
Add beginnings of README.
Add sphinx autogenerating documentation system.