model.py added to api-app assignment