Added main classes Javadoc.