Moved package downloading to its own function, included curl for progress output, removed progressbar dir.