Break up stuff to a "common" module and add DistDownloadConfig class