Updated readme.md to document environment detection and added templates for staging configuration files.