Define routes as an external module