refactoring (application.rb, settings.yml) rewrite replace config.