updated current code to new flask app
new commit - new flask app