Remove unused code and update README.md