included the ui package into the core package, since there was an
unavoidable cycle.