Refactored configuration code
Spelling correction and removing unnecessary test
Configuration now set by Pipeline
Idiot: fixed the test compile error and made getConfiguration protected