redesign of lookup tables to allow grouping by sectionsubjecttype. added corresponding api