Route parsing