Implement subgroups (nested language files)

Implemented subgroups re #6