Move ApiRequestIntercepter to the api package