Added in a service object class to API