Add req for flask-peewee, refine models