Fixed DI
Add config default
Fixed config
Fixed patterns
Merge pull request #13 from SofHad/1.1

merge 1.1