Created Service object to abstract API calls