removed settings.py and bug fixes