Fix rubocop errors and rubocop config file