added rubocop config. More clean up using rubocop.