Fix quality flaws and add some sonar version in class comments