Moved loadWorld to engine.c