Made loading more abstract and implemented flags, so that the world gets
notified on pass.