A draft of the app using Flask.