changed some imports; added jinja2 as requirement