Move all UI code into a 'view' package.