added a simple <template> driven rendering system
oops forgot the main pages
merge js files, move docs