Setup welcome page & localization support

Few lines of ruby code, mostly env setup.
what's wrong here ? don't understand