C Class implementation of manifolds