renamed Api class to BaseApi