Divide apps in primary and secondary, add requirements