Extract class Direction and Possition