added base class for api calls