removed unused code and updated readme