use batch mode
add log
fix log
fix bug
Merge pull request #5 from MuJJus/master

optimize performance