Added JavaDoc and cleaned up formatting.
Now ready for initial full build and final cleanup.