support -b to force running in background
Merge pull request #48 from sthen/master

support -b to force running in background