finished wui with unit tests.