create main window and create timer
display timer