refactor(jenkins-client): contrucor/prototype pattern implementation