introduced a controller class. little work hooking up generator parameters to menu