Changed Direction to an Enum
Merge remote-tracking branch 'upstream/master'