Unit refactoring, filewriter / class generator.