made webapp use jinja2 templates not inline text strings for generating html, need to fix search