Migrate to webapp2 and jinja2