require command support and improving factory
Merge pull request #43 from enxebre/pr-require-command

Pr require command