Move user interface specific classes to ui package