Move routing from soap_srv_mt
Add generic functionality