Fix the ui and deleted some files