improvements

* prepare code for when I'll support other output types
* change how permalinks are presented in html
* rename Module1.vb to MainModule.vb