Moved World gen handler to new file