add oauth client class and oauth interface