Added class conditions for weather and getter for weather