refactor codes
Update README.md
Merge pull request #4 from sonots/refactor

Refactoring