Dynamic routes

I'm new to orchard and just giving the CMS a trial to see if its suitable for my requirements, I'm actually a Umbraco user but been stung a bit recently with them axing version 5.

What I have is a scenario where I need to have completely dynamic urls which are checked by a bespoke handler to see if it needs to be handled by a custom module, and if that does not find content to serve it then falls back to the default orchard routes
and looks for content.

The urls for the product list could be various levels deep i.e.

/category/manufacturer/colour/size/etc/etc

or

/category/subcategory/size/etc

These will all be looked up in my separate product database, to establish if it finds a match. Because of the variety of url formats it literally needs a complete catch all of requests going to my handler, then if nothing gets found it then it
uses the orchard routes to see if there is any matching content in the CMS.