make Environment a singleton
code style and line endings
make default copy-constructor private

- default copy-constructor in singleton must be private
- change assignment of instance to null
Merge pull request #1 from patkar/EnvToSingleton

make Environment a singleton