added peewee models, server