moved rest_client to web_client