Refactored jenkins script to be more DRY and object oriented; Added support for N number of jenkins servers