add progress bar
Merge pull request #339 from connyay/add-progress-bar

add progress bar support