Rubocop fixes and a rubocop config file