Added two general ui interfaces to use as the basis of the ui framework.