extracted the test setup from world to server. extracted the cmd bits from world.go to cmd.go. added target bits.