Implemented support of single resources
Renamed numParents to expectedIds. Fixed counting of expectedIds for structures which have single resources
Merge pull request #20 from stalniy/single-resource

Implemented support of single resources