Add example code for OAuth2
Fix main comment for lib