Created ui model. Tree will be part of core.