Removes unused files, and some updating