use internal factory method for injector creation
Merge pull request #8 from Zubnix/master

use internal factory method for injector creation