Fix for coding guidelines
Add PROJECT_ROOT
Read SECRET_KEY from local settings