reworked base API connector class methods, set up config