code refactoring
update readme