The whole thing needs real documentation. See [Documenting Python Code](https://realpython.com/documenting-python-code/) for conventions and using Docstrings to generate documentation via help().