split the config and custom for refactor
total refactor
Merge pull request #18 from vzvenyach/refactor

Refactor