move anonymous functions to bottom of file for better clarity
move anonymous functions to bottom of file for better clarity

[#106304374]

Signed-off-by: Travis Yoder <d471ad4f0e96933966a7e04b7f55fe6ae716dc01@gmail.com>

xchapter7x/autopilot,compozed/autopilot,xchapter7x/autopilot,compozed/autopilot