modify example, improve logoutput, update README
Merge pull request #2 from hadim/master

merge hadim