Add example usage of the gui in main.cpp