app.py added

all planned steps written as comments