Add function route_parser