Converted routes config to php