Added Stylecop and fix errors, IdentifyConfig refactored