move simpleUI specific main code into simpleUI.py