Added multipart upload. Plus little improvements.