add resource headers to import configuration array
refactor zip file loader