moved flight_stats to lib
1 test passes