Find a way to parse routes in config file