add main function to execute ui