Code desing: global refactoring, according to coding convention