Add option to configure S3_ENVIRONMENT; refactor
Improve environment config
Add README