add basic oauth class and basic api request class