abstracting routing wildcard to config file