database.py and models.py added