cleanup code, add s3 class and print method, update README