Added file handling, entities, world logging, and batching