Added Rubocop and fixed