Progress bar with UIView, fail download support

Support if download fails
Progress bar created based on a UIView
Support for fail download