Refactored connnection string switcher to be testable
fixed merge conflicts from darcys refactorting
Merge pull request #19 from gggmyyy/refactorexample_darcy

Refactored connnection string switcher to be testable