placed curl class in separate folder