Refactors transform stream, queue, and uploading