Use settings constants accessing them via the module.
Remove trailing whitespace and unused imports.