add gui in interface and add kline class