wip on using sqlalchemy models
integrated flask-sqlalchemy models instead of table access