refactored; basic and oauth2 in class Harvest