changed wsgi file to use tpl engine