Added rubocop
Fixed rubocop offences