Create the downloadmanager class.