Added a bit of javadoc in the main class