updated readme
refactoring