Moved interrorgate request up the stack
Added ability to define a selector function instead of a regex to select a backend, example in example