Update Direction.java

title, purpose and change log added to classes and methods