Switch to being a Flask App. Delete all the code