Moved WeatherData class to lib file for clarity