Updated contstructor parameters for repositoryGenerator
Fixes beginrequest event
Merge pull request #8 from RvanDalen/master

fix auto generator