move css from template to css file
fix template for document creation
switch templates extensions from .html to html.jinja2