Cleanup the namespace a lot. This is the only object that should be used in the module.

Also, move the source into a module, making putting it on PyPI easier.
Add a setup.py.
Try for the builtin distutils first, rather than just using setuptools.