Generalized manifolds