split world mesh and entity tree into separate files