create the main ui for application