removed duplicate call
simplified restclient constructor calls
switched restclienttarget to use .path() instead of String.format()