new php class to wrap curl.