Document: Refactor behaviors to be a package with separate modules.
Cleanup: Docstrings, spelling.