Adding the Route definitions and a `rake routes` task

This keeps all route definitions in a single spot
where they can be maintained as the API evolves.