Refactor Ophan API client

Reduce multiple places where API calls are made to a single service object.