Update Direction

Changed direction to be objects in stead of strings.