Implemented client service for the discovery api endpoints

@nexus-uw could you please review. Thanks.