added route regexes and path arg extraction