move java files over to UI.