Add UI abstraction class