Refactored most of world setup and control into world.coffee