Hi Justin
I've used the same thing here on the course. The branches of my solutions (which may be correct or not) are here:
https://github.com/richardjonesnz/moodle-tool_richardnz
and I have also blogged about what I've done here:
https://moodledev.moodle.school/blog/index.php?userid=158
These may be useful links for others on this path.
Cheers
Richard