package uk.co.bristlecone.voltdb.wrapgen.console;

public class ConsoleWrapgenMain {
  private ConsoleWrapgenMain() {
    // intentionally empty
  }

  public static void main(String[] args) {
    new ConsoleWrapgenController().run(args);
  }
}

@@ -44,16 +44,93 @@
 nsole;%0A%0A
+import uk.co.bristlecone.voltdb.wrapgen.console.impl.DirSourceFileProvider;%0A%0A
 public c
@@ -246,16 +246,22 @@
 id main(
+final 
 String%5B%5D
@@ -277,47 +277,179 @@
     
-new ConsoleWrapgenController().run(args
+final Configuration config = new Configuration(args);%0A    new ConsoleWrapgenController().run(new DirSourceFileProvider(config.sourceDir()), new SourceFileProcessor(config)
 );%0A 

Update ConsoleWrapgenMain to use ConsoleWrapgenController, DirSourceFileProvider, SourceFileProcessor