Added source code for GUI