move the UI code to separated file(kalite_ui.py)