Weathere module refactored as a class