Hello.
I just notice that the script is calling md5_file 2 times on each upload. It's called in the method _storeFile and then again in the method moveIntoStorage, both in the uploader class. The moveIntoStorage method calls the _storeFile method. It doesn't need to calculate the md5 again.
I'm changing the line $fileUpload->hash = md5_file($tmpFile); to $fileUpload->hash = $fileHash; in the moveIntoStorage method.
I just notice that the script is calling md5_file 2 times on each upload. It's called in the method _storeFile and then again in the method moveIntoStorage, both in the uploader class. The moveIntoStorage method calls the _storeFile method. It doesn't need to calculate the md5 again.
I'm changing the line $fileUpload->hash = md5_file($tmpFile); to $fileUpload->hash = $fileHash; in the moveIntoStorage method.