commented flask app file