Document, cleanup, make root class name and JavaFileWriter configurable.