add README. Fix some a little code