core: Create MVC abstraction for creating UIs.