Seperate configure from apply and add jenkins-cli gem.
Merge pull request #2 from kunday/refactor

Seperate configure from apply and add jenkins-cli gem.