Split code into individual per-class files.