added RESTclient for testing