updated README and removed unused code