Complete migration to Rubocop
Fixed code style