Seperates out tui setup