WIP on refactoring the updater and downloader.