first attempt to connect the UI with the Compiler