added s3 class, .gitignore