move constants to settings.py
fix settings
rename variables