Set up the REST services.