refactored stripped class name
refactored generator call chain
refactored template generation for style groups