Move instance of download manager and related functions into InstallationManager