moved CardinalDirection into seperate file