Made changes to use a FileVisitor for walking the source tree and
generate the java class files.