move base api code of resmap_api_client code to guisso