Adding download task; adding progress dialog to directory change task

a progress bar is to be added next for the download task