include and optimize template parser jinja2. wip.