Added code framework for GUI