Merge pull request #2 from RubyLouvre/master

Merge pull request #7 from kyriosli/master
modified arguments
Merge pull request #8 from kyriosli/master

调整组件查找逻辑