added MBProgressHUD pod, refactored to use more blocks to separate logic