ADDED: version with Amazon S3 and DynamoDB persistence