Refactoring to media Downloader