New coordinate class

Chunkswitch and character walking broken.