Refactor application_group and submodes to match ACApi CV