removed db and fixed models.py