add rubocop and fix offenses