scanalysis: allocate structures as true members of class (not pointers)