Move the user interface classes into a separate submodule.