core.php extension tryCreateModuleResources