removing deprecated files and functions