class for handling access to s3 server