refactor flight_formatter and correct app_paths