Restructured module flags ui