Refactored Weather.rb