Deleted unused files and folders and add back key function