fix html output filename
separate template files
get shared templates and static files through API

Also provides plugin spaces for custom static files. Doc update