Moved the artifact code into the new command classes.
Fixed for the artifact uploader/downloader.