Added code to support grid movement. At this moment you can't move though.