I don't need *all* of this but I'll keep most of it. https://github.com/thephm/hal_md/blob/main/README.md