add flight.js api

add create-flight scenario