moved rest client