Add baseapiservice and httpapiservice