Major Refactor: Part 1

This contains a ton of stuff and about the only thing it can do at the
moment is Create a world.

DO NOT USE IT YET.