Move adding of blobs to datastore to the Upload class