Moving more logic into paths function.
Moving all pawn logic into the paths function.