initial plugin code from http://plugin-generator.jenkins-ci.org/