moved weather methods to a weather module