add option groups at install
added check for class in option cloup