Extracted language controller methods into a module.

And inject this module into main apps application controller, so the methods are globally available.