Add init/final to AAE remote interface

Init and final message handlers allow us to integrate the compare function with more complex applications.