Added Javadoc plugin
Modified javadoc in order to fix some warnings