make the httpclient interface an own repository