settings.py file has been added and some modifications done in models.py to improve database and model