Coding a new DownloadManager factory.