Changed Environment abstraction.
Implemented and tested SPI and providers for mutlilayered environment (root,system, ear, app by default).