updated code to have progress bar.  also going to add a real application which will be rosmod.py