Correct top violations according to sonar
Mostly logging exceptions and code reformatting
Renamed fields to comply with guidelines
Corrected violations according to sonar