Separating layout and module styling