Split up project into library and UI.