Custom router

the current CB routing doesn't fit my need
this patch give the possibility to implement our own routing system, 
without breaking the current one, i hope.