cmc control: split merge, gates and mr show into phases control: split dashboard and admin user show Qlty: disable function_complexity Fold duplicated and deeply nested code into helpers