Tree based routing

use together with https://github.com/privateblue/vitrin/pull/11