adding init and more on app.py