Sonar major warnings: make class final

Below enhancements were added to the classes:
* made a number of non-extendable classes final
* side effect: IntelliJ re-arranging ```imports``` around the house