ui package implementation
Added ViewStack impl.
House keeping.