define host and REST service locations