Added GUI code

moo