Rewriting GridHandler, part 1
Rewriting girdHandler and pathfinding. Should work, but I am tire