refactor all codes
modify readme