Some cleanup and simplifications for discussion

* Rename Tassembly to TAssembly

* Use TAssembly namespace (independent of KnockOff)

* Use simple arrays for the template representation

* Some minor fixes
Hacky test script

Just something simple to do some basic testing. Need to set up a real test
runner, ideally using the same test cases as the JS version.