Started work on World for game logics.
Fixed some variable scope issues in Player.