added destructor lines to classes/structs