sjanota: Gui refactor and cofiguration from gui