started adding snow, cleaned up server code