Add Rubocop config and reintroduce line breaks before and after class/module content
Adjust config to project's needs
Fix code style with some minor refactorings