added top level app file
changed to use sqlalchemy-flask