support iOS 7.0+, update UI with Autolayout, encapsulate network delegate