Added cocoapod support and AFNetworking
Moved to new API.