deleted some files and documented some functions