SEE #91 Went to using a combination of sqlalchemy and flask-sqlalchemy