Refactored settings file creation into SettingsRepository, created tests, and created DownloadAllFiles command with tests.