introduce Route trait and CompiledRoute struct
fix joining nodes and .Out test