new CurlClient class