Add setup.py.
Add tox.ini.
Add encode_length.
Refactor.
Refactor.
Refactor.
Refactor.
Refactor.
Add better tests.
Refactor.
Add decode_length.