basic final app with flask web server