setup models.py and rest framework