rewrite classes according to BEM methodology