core ui framework, API def, reference implementation