SPLEVO-340	
If-Else Refactoring With Static Configuration Class

-fixed win7 compatibility issue