Moved weather main to class