clean some files, add History.md and remove unneeded variables