early version of gui

early version of gui