Add WorldEditor

main.js uses editor now rather than setting up a raw world.