Working with peewee framework