Refactored CMSSW.py and added interface to SetupCMSSWPset to use them standalone