support for many to many relations between groups and galleries also between galleries and items. includes data ERD