Initial code for UI.