integrating flask-frontend module