Hello AA! Thanks for getting this going. I completely agree that we need to integrate all the ideas and work on a concrete example element to solve.
I've set up a pastebin for this purpose.
https://pastebin.com/hEXHcPWa
I just posted your working notes to start. Maybe it's easier to just do it here on the board?? Anyhow, now we have a pastebin too.