Add UI class to handle UI interactions.

[#73562448]

Signed-off-by: Phan Le <ple@pivotallabs.com>