Package documentation
Refactorings based on SonarQube issues