added curl class