working on learning sqlalchemy for flask