This commit reworks frontend asset generation to not need manually written html files, but instead generate them automatically.
This commit moves a huge chunk of the code to go. The TODO.md document indicates what is left to be done.