Created the user interface.