Fixs config.rb.template .
Refactoring aplication.rb .