Beginning the conversion to flask.ext.sqlalchemy