changed readme. Fixed some bugs