Split app functions into external and internal apps