Add standalone flag to HTML output
Introduce docx template and move all supporting files to templates/ dir