Move UI related components to a ui package.