Chnage Direction Structure

Add path to track attribute, and change get direction algorithm