restructured webui to single-page-app, removed jinja