added defines for Directions
Merge remote-tracking branch 'Chekcers/master'