added main application window based on Kivy codeinput.py