deleting deprecated files and updating package.json