Refactor SonarManager

Please ```git checkout``` to the specified branch.