progressHUD logic moved to specific class