Added oauth class and initial code