Changed initalization of jenkins and created a getJenkins