adapt gitignore, fixed sonar violations, javadoc, minor changes