Code reorganization
Standardize comments. Use variable for computed columns when reusing them multiple times
Reduce line of code, by rewritting switch statement
Reduce line of code, by rewritting switch statement
Merge branch 'master' of https://github.com/pegasus-isi/pegasus