add some implementations for MainActivity and DownloaderTask