Move curl class to wrapper