Refactoring, extracted weather task, added utility class