remove nxSession factory injection
Merge pull request #1 from ldoguin/patch-1

remove nxSession factory injection