World-initialize function

Initialize the World object.