Rubocop warnings

Removed a ton a rubocop warnings (200+).