My actions need to be group and sub categories them

Yes. In addition to the documentation link above please see my post on expanding the Actions menu to three levels: Action Menu Level 3 Is Undocumented