Some more code restructing and formatting to make it easy to read
Some more code restructing and formatting to make it easy to read

bbockelm/glideinWMS,bbockelm/glideinWMS,bbockelm/glideinWMS,bbockelm/glideinWMS