Refactor FlightDetailsParser