a hack for Thomas Bächler to support affine schemes

the package has to be completely redesigned and rewritten from scratch