Added a direction class