refactoring CSVGenerator.java, FixedSchemaMatcher.java, SchemaDecider.java and SchemaMatcher.java