App.py working with ref-server, jinja templates updated to extend base template