Handles Directions(JSON requests, parsing.. etc.)