Refactor config change controller and tests
Merge pull request #86 from pmorie/deploy-trigger-wip

Refactor config change controller and tests