Changed wsgi and manage.py to work with configurations