wrote new gui
integrated new GUI and added stop server function