put downloader code in a package