make to_curl instance class