Refactoring Code_Formatter