Passing config object to the controllers.