added API wrapper flight_stats and test for it. first call is executed! also added rest-client