Below is the python flask code.
All I want to do is sort the code into different files as in all the routes in views.py, configure db in db.py and use them in app.py