- added support for different environments
- cleanups
- updated Rest and Http messages