Conformisation du code aux rulesets

sunruleset, coupling, braces, naming, unusedcode