Get FlightStats credentials from DB. Add sort functionality. Minor renames.