split url connection to API class
Merge branch 'master' of https://github.com/yangding39/swift-study