app grouping validation and building