remove unneeded files and add UI dependency