created Plane class in flying state