Use PCRE for route matching
Use a context structure to pass parameters to the functions