The downloader is a function of the Installer and can be read about in more detail on that page.
Installer#Download Game if not Present