improved the PathWalker, outsourced some methods from PathWalker to GameManager