Fix inheritance on flask and sqlalchemy orm
v0.1.7