Refactor base document group logic; implement QC approval/disapproval