Tube routing rewritten in Scala.