Set up routes for list and detail pages