Added a service for api calls