refactor(routing): simplified routing API

Closes #255