made Manifold a subclass of object
made Manifold a subclass of object