Implement routing.
Merge pull request #4 from drabinowitz/routing

Implement routing.