GUI implementation

began the gui implementation.