Deformations of structures on manifolds Pseudogroups and groupoids mathematics