Add a test
Add a main entrypoint
Refactor raw_input into a better function
Module docstring from docs
Add friendlier encode and decode wrappers
Improve cli output
Test decode