adding rubocop
rubocop fixes
the rest of the rubocop errors