Adding s3client functionality and tests.