Removing unnecessary files and deprecated code