Add rubocop and clean code according to its standards