renaming APIService to endpointService