renamed database.py to models.py