fixed some sonar issues, added javadoc configuration to be able to generate javadoc if javadoc is incomplete