Refactoring: divide the task and the lib
Update README
1.0.2