added ability to add, edit and delete menu groups