make app.py importable
code cleanup