refactor and update readme
refactor and update readme