Add code for Route and a basic test.