switch gcclass and classgen from darcs to git