Extracted multipart upload functionality into separate class (FPMultipartUpload) and refactored retry mechanism.