A template app to implement a GUI for Prolog applications