Using Swift to use various HP IDOL OnDemand API's