added grouping and toggle controls.  added license info to files