Initial draft code for the various components of the UI.