add README and fixes some issue