Move all of the UI code (it's currently all of the code, actually) to .ui package