Use jinja2 for templating. Resolves #4.