Switch to use add_routes in config/routes to prevent issues like #96

Fixes #96