Refactor code.
    "controller", "action" and "language" now is a properties of request.
    Add support for i18n module.
Change logic of getURL function.