refactor using addhoc routes

see [director docs][1]
[1]: https://github.com/flatiron/director