modify progressline.py to use template design pattern
Merge branch 'dev'