How to structure a Python Flask App?