setup skeleton for api calls