refactor flight app support code into src/apwrapper lib