added Javadoc comment to methods of the main class and config classes