modularized the main view. now weather html code resides in a separate file