add ParticleFactory to Environment

- make PArticleFactory getInstance private
- use Environment<> to get instance of ParticleFactory
- sove all dependencies
- fix all example compile time errors
Merge pull request #1 from psychocoderHPC/conrad-topic-Environment-addParticleFactory

add ParticleFactory to Environment