Actually, you are wrong about the definition of social classes.
"A social class is a grouping of people into a set of hierarchical social categories, the most common being the upper, middle and lower classes. Membership in a social class can for example be dependent on education, wealth...