Refactor downloader with FakeR