Updated settings.py

Updated settings.py to use an environment variable  called SECRET_KEY
and relocated templates into BASE_DIR