refactor the endpoint finder code to make it more modular so that its easy to drop in new finder rules and add a dummy empty camel rule

refactor the endpoint finder code to make it more modular so that its easy to drop in new finder rules and add a dummy empty camel rule