split world.py into world, worldlayer, and chunk files