+add undo redo function.
-delete useless files

delete useless files.