Add documentation.
Add some tests.
Fix setup.py.
Add tox and travis configuration.