Curl Class and demo