Fix most of the rubocop errors