added the basics to a functional GUI