[spec/features] little refactor
[trait] change from class group factory to trait file