move Applayout to kalite_ui.py; rename variables and methods