Add rubocop and fix violations