Added snow object creation to main function.