Renamed importApps into importProjects. It will can import apps or module, specifying the 'type' in link.data: {'data': { 'type': 'a/m'} }. Optimized the import operation. Removed the recursive function, replacing it with a for-loop.