Progress bar support (work on ipython) and add verbose flag