Added flightDispatch and stateManager into modules

tests passed