Refactor weather project