Rename routes to resources in the API